package com.teach.flavour.dao;

import com.teach.flavour.model.entity.AssociatorFlavourVector;
import com.teach.flavour.model.entity.FoodFlavourVector;
import com.teach.flavour.model.po.AssociatorFlavour;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.teach.flavour.model.entity.Like;
import com.teach.flavour.model.vo.LikeVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 会员口味表 Mapper 接口
 * </p>
 * @version 1.0
 * @author hzz
 * @since 2020-03-11
 */
@Mapper
public interface AssociatorFlavourDao extends BaseMapper<AssociatorFlavour> {
    List<LikeVO> getLike(String associatorId);
    AssociatorFlavour get(@Param("associatorId") String associatorId);
    List<AssociatorFlavourVector> getAllVector();
    List<FoodFlavourVector> getAllFoodVector();
}
